package com.itheima.service;

import com.itheima.pojo.Clazz;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Result;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

public interface ClazzService {
    PageResult<Clazz> findAll(String name, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    Clazz queryClazzById(Integer id);

    void deleteClazzById(Integer id);

    void insertClazz(Clazz clazz);

    void updateClazz(Clazz clazz);
    List<Clazz> queryAllClazz();

}
